package a.j;

import a.c.d;
import a.d.w;

import java.awt.*;

public class eb
{
  private tb a;
  double c;
  double d;
  private boolean e;
  public static boolean f;
  
  public d a()
  {
    return this.a.i();
  }
  
  public void a(double paramDouble1, double paramDouble2)
  {
    double d1 = this.c;
    double d2 = this.d;
    this.c = paramDouble1;
    this.d = paramDouble2;
    this.a.a(this, d1, d2);
    this.a.Q();
  }
  
  public void b(double paramDouble1, double paramDouble2)
  {
    this.c += paramDouble1;
    this.d += paramDouble2;
    this.a.a(this, this.c - paramDouble1, this.d - paramDouble2);
    this.a.Q();
  }
  
  public double b()
  {
    return this.c;
  }
  
  public double c()
  {
    return this.d;
  }
  
  public boolean d()
  {
    return this.e;
  }
  
  w e()
  {
    return new w(b(), c());
  }
  
  public void a(boolean paramBoolean)
  {
    if (paramBoolean != this.e)
    {
      this.e = paramBoolean;
      g localg = this.a.j();
      if ((ld.E) || (localg != null)) {
        localg.k(this);
      }
    }
  }
  
  public boolean c(double paramDouble1, double paramDouble2)
  {
    if (!ld.E) {}
    return (this.c - paramDouble1) * (this.c - paramDouble1) + (paramDouble2 - this.d) * (paramDouble2 - this.d) < 25.0D;
  }
  
  public boolean a(double paramDouble1, double paramDouble2, double paramDouble3, double paramDouble4)
  {
    boolean bool = ld.E;
    if (((bool) || (this.c <= paramDouble1 + paramDouble3)) && ((bool) || (this.c >= paramDouble1)) && ((bool) || (this.d <= paramDouble2 + paramDouble4))) {
      if (bool) {}
    }
    return this.d >= paramDouble2;
  }
  
  public void a(Graphics2D paramGraphics2D)
  {
    a(paramGraphics2D, this.c, this.d, Color.black);
  }
  
  public static void a(Graphics2D paramGraphics2D, double paramDouble1, double paramDouble2)
  {
    a(paramGraphics2D, paramDouble1, paramDouble2, Color.black);
  }
  
  public static void a(Graphics2D paramGraphics2D, double paramDouble1, double paramDouble2, Color paramColor)
  {
    Color localColor = paramGraphics2D.getColor();
    Rectangle2D.Double localDouble = hb.a().k;
    localDouble.width = (localDouble.height = 4.0D);
    Stroke localStroke = paramGraphics2D.getStroke();
    paramGraphics2D.setStroke(c.e);
    paramGraphics2D.setColor(paramColor);
    localDouble.x = (paramDouble1 - 5.0D);
    localDouble.y = (paramDouble2 - 5.0D);
    paramGraphics2D.fill(localDouble);
    localDouble.x = (paramDouble1 + 1.0D);
    localDouble.y = (paramDouble2 + 1.0D);
    paramGraphics2D.fill(localDouble);
    localDouble.x = (paramDouble1 - 5.0D);
    localDouble.y = (paramDouble2 + 1.0D);
    paramGraphics2D.fill(localDouble);
    localDouble.x = (paramDouble1 + 1.0D);
    localDouble.y = (paramDouble2 - 5.0D);
    paramGraphics2D.fill(localDouble);
    paramGraphics2D.setColor(localColor);
    paramGraphics2D.setStroke(localStroke);
  }
  
  protected eb(tb paramtb, double paramDouble1, double paramDouble2)
  {
    this.a = paramtb;
    this.c = paramDouble1;
    this.d = paramDouble2;
  }
  
  public String toString()
  {
    return "(" + this.c + ' ' + this.d + ')';
  }
}



/* Location:           E:\idea\

 * Qualified Name:     a.j.eb

 * JD-Core Version:    0.7.0.1

 */